package com.youth.hrsync.mapper.kunshan;


import com.youth.hrsync.bean.kunshan.KunShanCheckinout;
import com.kcis.xian.hrsync.mapper.SuperMapper;
import org.apache.ibatis.annotations.Insert;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author BaiKeyang
 * @since 2021-09-09
 */
public interface KunShanCheckinoutMapper extends SuperMapper<KunShanCheckinout> {

    int deleteCheckinout() throws RuntimeException;

    @Insert({"insert into CHECKINOUT_XIA(USERID, CHECKTIME, CHECKTYPE, VERIFYCODE, SENSORID, Memoinfo, WorkCode, sn, UserExtFmt, mask_flag, temperature) values(#{userid}, #{checktime, jdbcType=TIMESTAMP}, #{checktype}, #{verifycode}, #{sensorid}, #{Memoinfo}, #{WorkCode}, #{sn}, #{UserExtFmt}, #{maskFlag}, #{temperature})"})  // , #{createTime, jdbcType=TIMESTAMP}
    int insert() throws RuntimeException;

}
